﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Styx;
using Styx.Helpers;
using Styx.Logic.BehaviorTree;
using Styx.Plugins.PluginClass;
using Styx.Logic;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.Questing;

namespace ProfileHelper
{
    internal static class QuestObjective
    {
        internal static void DisplayShit(uint QuestID)
        {

            Quest MyQuest = Quest.FromId(QuestID);

            Log.Write("-- CollectIntermediateItemCounts --");
            for (int i = 0; i < MyQuest.CollectIntermediateItemCounts.Count(); i++)
            {
                Log.Write("{0} CollectIntermediateItemCounts: {1}", i, MyQuest.CollectIntermediateItemCounts[i]);
            }
            Log.Write("-------------------------------");


            Log.Write("-- CollectIntermediateItemIDs --");
            for (int i = 0; i < MyQuest.CollectIntermediateItemIDs.Count(); i++)
            {
                Log.Write("{0} CollectIntermediateItemIDs: {1}", i, MyQuest.CollectIntermediateItemIDs[i]);
            }
            Log.Write("-------------------------------");


            Log.Write("-- CollectItemCounts --");
            for (int i = 0; i < MyQuest.CollectItemCounts.Count(); i++)
            {
                Log.Write("{0} CollectItemCounts: {1}", i, MyQuest.CollectItemCounts[i]);
            }
            Log.Write("-------------------------------");


            Log.Write("-- CollectItemIDs --");
            for (int i = 0; i < MyQuest.CollectItemIDs.Count(); i++)
            {
                Log.Write("{0} CollectItemIDs: {1}", i, MyQuest.CollectItemIDs[i]);
            }
            Log.Write("-------------------------------");


            Log.Write("CompletionText: {0}", MyQuest.CompletionText);
            Log.Write("Description: {0}", MyQuest.Description);
            Log.Write("IsDaily: {0}", MyQuest.IsDaily);

            Log.Write("-- NormalObjectiveIDs --");
            for (int i = 0; i < MyQuest.NormalObjectiveIDs.Count(); i++)
            {
                Log.Write("{0} NormalObjectiveIDs: {1}", i, MyQuest.NormalObjectiveIDs[i]);
            }
            Log.Write("-------------------------------");

            Log.Write("-- NormalObjectiveRequiredCounts --");
            for (int i = 0; i < MyQuest.NormalObjectiveRequiredCounts.Count(); i++)
            {
                Log.Write("{0} NormalObjectiveRequiredCounts: {1}", i, MyQuest.NormalObjectiveRequiredCounts[i]);
            }
            Log.Write("-------------------------------");


            Log.Write("-- Objectives --");
            for (int i = 0; i < MyQuest.Objectives.Count(); i++)
            {
                Log.Write("{0} Objectives: {1}", i, MyQuest.Objectives[i]);
            }
            Log.Write("-------------------------------");


            Log.Write("-- ObjectiveText --");
            for (int i = 0; i < MyQuest.ObjectiveText.Count(); i++)
            {
                Log.Write("{0} ObjectiveText: {1}", i, MyQuest.ObjectiveText[i]);
            }
            Log.Write("-------------------------------");

        }
    }
}
